package com.hphs.service;

import com.hphs.mapper.CarMapper;
import com.hphs.mapper.CarProductMapper;
import com.hphs.model.CarProduct;
import com.hphs.model.ProductQuery;
import com.hphs.model.VideoQuery;
import com.hphs.model.Videos;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarProductService {
    @Autowired
    private CarProductMapper mapper;

    public List<CarProduct> select(ProductQuery query){
        List<CarProduct> select = mapper.select(query);
        return select;
    }
}
